package pe.com.casadesign.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import pe.com.casadesign.dao.PaisDAO;
import pe.com.casadesign.domain.ListaPais;
import pe.com.casadesign.domain.Pais;
import pe.com.casadesign.domain.ListaDistrito;
import pe.com.casadesign.domain.Distrito;

import pe.com.casadesign.service.PaisService;
import pe.com.casadesign.service.util.Constantes;

/**
 * Implementacion de PaisService.
 * 
 * @author Gustavo Susano
 * 
 */
@Service
public class PaisServiceImpl implements PaisService {
	private static final Logger logger = LoggerFactory.getLogger(PaisServiceImpl.class);

    @Autowired
    private PaisDAO paisDAO;
    
	@Override
	public ListaPais listarPais() {
		return paisDAO.listarPais();
	}
	
	@Override
	public ListaDistrito listarDistrito() {
		return paisDAO.listarDistrito();
	}
}